﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Build.Framework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;

namespace ConfigurationManagement.MsBuild.Tests.TaskTests
{
    public class BaseTaskTest
    {
        protected Moq.Mock<IBuildEngine> _buildEngine;
        protected Moq.Mock<ITaskHost> _taskHost;

        [TestInitialize]
        public void Setup()
        {
            _buildEngine = new Mock<IBuildEngine>();
            _taskHost = new Mock<ITaskHost>();

            TestUtilities.RemoveBasicTestData();
            TestUtilities.CleanAuditData();
            TestUtilities.SetupAuditData();
            TestUtilities.AddBasicTestData();
        }
        [TestCleanup]
        public void CleanUp()
        {
            TestUtilities.RemoveBasicTestData();
            TestUtilities.CleanAuditData();
        }
    }
}
